package model;

import java.io.File;
import java.io.FileWriter;
import java.io.IOException;

public class Arquivo {

	public Arquivo(String nome,String texto) {
		
		File file = new File(nome+".txt");
		try{
			FileWriter writer = new FileWriter(file); 
			writer.write(texto);
			writer.flush();
			writer.close();
		}catch(IOException e){}	
	}
}
